package com.mes.restful.control;

import com.mes.common.framework.rest.impl.BaseRestServerInterfaceImpl;
import com.mes.dubbo.consumer.ControlConsumer;
import com.mes.dubbo.interprovider.control.IHardWareProvider;
import com.mes.entity.control.HardWare;
import com.mes.utils.RestConstants;
import io.swagger.annotations.Api;

import javax.ws.rs.Path;

/**
 * Created by leden on 2017/12/3.
 */
@Api(value = "五金管理", description = "五金管理")
@Path(RestConstants.RestPathPrefix.HARDWARE)
public class HardWareRestServer extends BaseRestServerInterfaceImpl<HardWare> {
    @Override
    public IHardWareProvider getDubboBaseInterface(){
        return ControlConsumer.getHardWareProvider();
    }
}
